package com.rgs.se.design.factory.method;


import com.rgs.se.design.factory.Person;
import com.rgs.se.design.factory.Teacher;

import javax.swing.plaf.TableHeaderUI;

/**
 * @author Ren Gaoshuai
 * @ClassName TeacherFactory
 * @Description 教师类的抽象类
 * @date 2022-02-28 16:20
 **/
public class TeacherFactory implements Provide{
    @Override
    public Person getPerson() {
        return new Teacher();
    }
}
